home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / UTIL / Alpha 6.5.sit / LaTeX / latex 2.09 / LaTeX Help next >
Text File  |  1996-07-01  |  27KB  |  487 lines

  1. I.  OVERVIEW
  2.  
  3. This is the 'LaTeX Help' file available from Alpha's Help menu.  
  4. Besides this help file, there is also the file ``LaTeX Key Bindings'' 
  5. on the Help menu, which contains an alphabetical listing of all the 
  6. command keys bound to the various ¥LaTeX¥ commands.  In addition to 
  7. these on-line help files, there are other documentation files stored 
  8. in ¥Alpha's ¥LaTeX¥ folder called 'latex_commands.tex' and 
  9. 'latex_keys.tex' in the LaTeX 2.09 folder.  These files contain 
  10. numerous tables summarizing the commands on the ¥LaTeX¥ menu and their 
  11. key bindings, and can be viewed or printed with your favorite ¥LaTeX¥ 
  12. application.
  13.  
  14. The LaTeX Menu
  15. --------------
  16.  
  17. Upon entering TeX mode, either manually (by choosing Modes:Tex from the 
  18. Misc menu or via the pop-up menu to the left of the window's horizontal 
  19. scroll bar) or automatically (whenever a .tex or .sty file is activated), a 
  20. new menu appears in the menu bar. The LaTeX menu provides access to scores 
  21. of procedures stored in source form in the file latex.tcl and loaded the 
  22. first time 'Tex' mode is entered. The LaTeX menu follows closely the 
  23. organization and terminology of L. Lamport's _LaTeX_ book (Addison-Wesley, 
  24. 1986), especially chapter 3. It's generally agree that the _LaTeX_ book is 
  25. still the definitive LaTeX reference and should be on every LaTeX user's 
  26. desk. 
  27.  
  28. Basic Operations
  29. ----------------
  30.  
  31. The macros in latex.tcl revolve around two basic operations called 
  32. insertObject and wrapObject. Basically, the insertObject operation is a 
  33. call to insertText preceded by the automatic deletion of previously 
  34. selected text (this is easily changed, however, by resetting the flag 
  35. 'deleteObjectNoisily' on the Utils menu). For example, if there is no 
  36. current selection, choosing the command Greek:Alpha from the LaTeX menu 
  37. inserts the corresponding LaTeX command at the insertion point; otherwise 
  38. it replaces the current selection with the string "¥alpha". In other words, 
  39. insertObject works just like the familiar Edit:Paste command. A good 
  40. portion of the commands in latex.tcl rely on insertObject but actually 
  41. these are least important since it's almost always easier to type them at 
  42. the keyboard. On the other hand, if we forget the syntax of a particular 
  43. LaTeX command, it's quicker to look it up on the menu than it is in the 
  44. _LaTeX_ book. Additional time savings may be realized when these commands 
  45. are used in conjunction with their corresponding command keys...but more on 
  46. that later. 
  47.  
  48. The operation complementary to insertObject is called wrapObject. The 
  49. difference between the two is the way the latter treats the current 
  50. selection. That is, wrapObject inserts its argument at the insertion point 
  51. (just like insertObject), but if there is a selection, wrapObject cuts it 
  52. out (without effecting the current state of the Clipboard) and inserts it 
  53. in the middle of the chosen command. For example, consider the LaTeX menu 
  54. command Miscellaneous:Footnote. This command inserts the string 
  55. "¥footnote{}・" (minus the double quotes, of course) into the document, 
  56. positioning the insertion point between the pair of braces. The user then 
  57. types the text to be footnoted and presses the Tab key, after which the tab 
  58. stop macro finds the bullet ・ at the end of the string. (Note: use 
  59. option-tab or control-tab to insert a literal tab character into the 
  60. document.) On the other hand, if a selection exists at the time 
  61. LaTeX:Miscellaneous:Footnote is issued, the selection itself is surrounded 
  62. by LaTeX's ¥footnote command, and the insertion point is brought to the end 
  63. of the selection automatically. Some commands, for better or worse, even go 
  64. so far as to insert the selection into one of several competing positions 
  65. within the command string. The LaTeX:Formulas:Fraction command is a good 
  66. example of this type of behavior. It assumes the current selection (if 
  67. there is one) is the numerator of the fraction to be typeset, cutting & 
  68. pasting accordingly. 
  69.  
  70. The concept of wrapping an object is carried one step further in the case 
  71. of environments. Suppose you want to center an existing tabular 
  72. environment, for example. Just select the tabular environment and then 
  73. choose Environments:General from the LaTeX menu. A dialog will appear 
  74. prompting the user for the name of the environment. Since "center" is the 
  75. default, just press the OK button in the dialog box. The resulting 
  76. centering environment will completely surround the existing tabular 
  77. environment, indenting the latter one tab stop to the right. 
  78.  
  79. Not all environments wrap, however. Those environments whose body is very 
  80. structured (that is, enumerate, itemize, description, tabular, 
  81. thebibliography, array, eqnarray, and eqnarray*) do not. Instead, these 
  82. environments simply insert text into the document. If there happens to be a 
  83. selection at the time one of these commands is issued, an alert appears 
  84. asking if the selection should be deleted. To turn this alert off, simply 
  85. toggle the flag 'deleteEnvironmentNoisily' on the Utils menu. 
  86.  
  87. Whitespace
  88. ----------
  89.  
  90. Before going on, let me say a few words about whitespace. In virtually all 
  91. cases, superfluous whitespace in command strings has been deleted. For 
  92. example, objects inserted with insertObject (a sizable portion of 
  93. latex.tcl's functionality) do not routinely insert a trailing space 
  94. character. Instead, the user must decide whether or not space should 
  95. immediately follow a particular TeX or LaTeX control word (sometimes it's 
  96. needed, and sometimes it's not). Setting indentOnCR to false also prevents 
  97. a lot of extraneous whitespace from being inserted into your document (but 
  98. then it won't look so good!) 
  99.  
  100.  
  101. II.  VERSION HISTORY
  102.  
  103. Changes in Version 2.0
  104. ----------------------
  105.  
  106.  ・ The documentation (LaTeX Help and commands.tex) has been totally 
  107.    rewritten.
  108.  ・ A new, expanded LaTeX menu has been implemented, following closely the 
  109.    organization and terminology of the LaTeX book.
  110.  ・ Ellipses have been added to LaTeX menu items where appropriate.
  111.  ・ Macros intelligently respond to the current selection---although
  112.    many objects simply replace the current selection (similar to Paste), 
  113.    others conveniently and automatically wrap themselves around it.  
  114.    Environments automatically wrap themselves around a selection, too.
  115.  ・ Functionality has been localized in utility macros as much as possible.
  116.  ・ Standard document types (letter, article, report, and book) have been 
  117.    added.  Simply select some text (or not) before choosing the desired 
  118.    command from the Documents menu.
  119.  ・ Three flags have been added to the Utils menu:  'useBoxMacro' (which 
  120.    controls the behavior of the figure environment), 'deleteObjectNoisily' 
  121.    (which controls an alert that appears when the current selection is 
  122.    about to be replaced by an object), and 'deleteEnvironmentNoisily' 
  123.    (which controls an alert that appears when the current selection is 
  124.    about to be replaced by an environment).
  125.  ・ Many new environments have been added (figure, table, verbatim, quote,
  126.    quotation, verse) and some (enumerate, itemize, description, tabular, 
  127.    bibliography, array, eqnarray, and eqnarry*) now prompt the user for 
  128.    the desired number of rows and, in some cases, columns.  The environment 
  129.    body is then constructed automatically.
  130.  ・ The figure environment now depends on a flag called 'useBoxMacro' on the
  131.    Utils menu.  If this flag is true (which it is by default), then the
  132.    figure environment inserts the string "¥¥centerline{¥¥$boxMacroName{・}}"
  133.    into its body.  Otherwise, the body of the figure environment is left
  134.    empty (unless there is a current selection, in which case the figure
  135.    environment wraps).
  136.  ・ A new, improved fraction macro now parses a selection of the form 
  137.    "numerator/denominator" and then automatically constructs the 
  138.    corresponding displayed fraction.  A selection not containing a  
  139.    "/" is inserted in lieu of the fraction's numerator.
  140.  ・ Both TeX and LaTeX math modes are supported, including $...$, $$...$$,
  141.    ¥(...¥), and ¥[...¥].  These are inserted into the document horizontal-
  142.    ly.  The corresponding multi-line environments ¥begin{math}...¥end{math} 
  143.    and ¥begin{displaymath}...¥end{displaymath} are also supported and 
  144.    heartily recommended (since these constructs are more easily modified 
  145.    and maintained by the user).
  146.  ・ There's now a two-parameter nth root, in addition to square root.
  147.  ・ Arbitrary one- and two-parameter LaTeX commands have been implemented, 
  148.    namely, ¥<command>{・} and ¥<command>{・}{・}.  These can be run inter-
  149.    actively, or used as templates for user-defined commands.
  150.  ・ In addition to sum and integral, numerous "large operators" (product, 
  151.    union, intersection, logical and/or) have been added.
  152.  ・ The nonumber command has been removed since it only appears in the 
  153.    context of an eqnarray environment.
  154.  ・ Both the Conjugate and Expected Value commands have been removed since 
  155.    in my (perhaps limited) experience these are nonstandard mathematical 
  156.    notation.
  157.  ・ Sectioning commands no longer insert a trailing carriage return.
  158.  ・ The Sum and Integral commands no longer typeset the current selection 
  159.    as the lower limit of the sum or integral.
  160.  ・ The command texDisplayEqn is no longer supported. Instead, the commands
  161.    MathModes:texDisplaymath and MathModes:latexDisplaymath insert 
  162.    themselves horizontally into the .tex file.  For vertical source code 
  163.    formatting, use MathEnvironments:Displaymath.
  164.  ・ Extraneous comments preceding each environment have been removed.
  165.  ・ The command alignEqual has been removed since the separator is now
  166.    inserted automatically into the appropriate environments.
  167.  
  168. Changes in Version 1.2
  169. ----------------------
  170.  
  171.  ・ **IMPORTANT**: KEYBINDINGS NOW DEPENDENT ON optionIsMeta FLAG
  172.  
  173.  ・ macros shortened through use of movePoint and selReplace utility macros.
  174.  ・ new macros added: section, subsection, subsubsection, enumerate,
  175.    itemize
  176.  ・ most short macros handle selected text (i.e. highlight "word", execute
  177.    the boldface command, and you get "{¥bf word}").  NOTE: this is 
  178.    OPTIONAL--you can still execute boldface, type "word", and type tab.
  179.  ・ latex key bindings only performed the first time Tex mode is entered,
  180.    to save time
  181.  ・ emphasize macro updated
  182.  
  183. Changes in Version 1.1
  184. ----------------------
  185.  
  186.  ・ non-breaking space removed from cite macro
  187.  ・ slide environment macro added and assigned to o-F9 and c-o-9
  188.  ・ equation, displaymath, eqnarray, eqnarray*, slide, and general environment
  189.    now indent and no longer insert a blank line if called from column 0.
  190.  ・ texDisplayEqn ($$...$$) added and bound to o-s-4
  191.  
  192. Known Bugs
  193. ----------
  194.  
  195.  ・ the figure and table environments need an optional LaTeX parameter
  196.  ・ the italic correction is not very smart, especially when wrapping 
  197.    an object
  198.  ・ the fraction command does not remove redundant parentheses
  199.  ・ the Alpha variable 'indentOnCR' should reduce extraneous whitespace 
  200.    to near zero when set to false
  201.  ・ the mathStyle:calligraphic command should check to see that its
  202.    argument is upper-case
  203.  ・ the various commands on the Documents submenu should make sure the 
  204.    file is empty (if inserting) or totally selected (if wrapping)
  205.  
  206. In the Works
  207. ------------
  208.  
  209.  ・ an interactive list-making command
  210.  ・ interactive (re)newcommand, (re)newenvironment, and newtheorem commands
  211.  ・ international characters
  212.  ・ a tabbing environment (yuck!)
  213.  ・ an index environment
  214.  ・ additional TeX and LaTeX boxes
  215.  ・ log-like functions 
  216.  ・ multi-line delimiters
  217.  ・ a less obtrusive and more general tab-stopping mechanism
  218.  ・ support for the AMS math fonts
  219.  ・ the ability to "unwrap" fractions and other complex objects
  220.  
  221.  
  222. III.  MENUS
  223.  
  224. The LaTeX menu is organized into three parts: document-related commands, 
  225. paragraph mode commands (that is, normal text commands), and math mode 
  226. commands. Each group of commands is separated by a thin grey line on the 
  227. menu. A brief description of the available commands follows. See the file 
  228. 'commands.tex' for more specific information. 
  229.  
  230. Document-related Commands
  231. -------------------------
  232.  
  233. In addition to the standard LaTeX document styles (letter, article, report, 
  234. and book) a custom document style that runs interactively is available. 
  235. Choosing one of these commands from the Documents submenu either inserts 
  236. the desired template at the insertion point or, if there is a current 
  237. selection---say, a paragraph of text or even a whole document---the 
  238. selection is wrapped up inside the chosen document style. In either case, 
  239. the insertion point is positioned at the beginning of the template allowing 
  240. the user to enter any specific document-style options that may be required 
  241. (standard options include 11pt, twoside, and twocolumn, for example). 
  242. If none are desired, simply skip over this part of the template (it's okay 
  243. to leave the empty square brackets where they are). 
  244.  
  245. Numerous LaTeX sectioning commands are available from the Sectioning 
  246. submenu, the most useful being the chapter, section, and subsection 
  247. commands. The corresponding LaTeX command is inserted at the insertion 
  248. point. The current selection, if there is one, is assumed to be the name of 
  249. the section and is wrapped up inside curly braces. The resulting 
  250. declaration is NOT followed by a carriage return since the user has the 
  251. option of putting a label (or whatever) on the same line. 
  252.  
  253. Future versions of latex.tcl will provide tools for constructing various 
  254. command and environment definitions. 
  255.  
  256. Paragraph Mode Commands
  257. -----------------------
  258.  
  259. Taken together, the Text Style and Text Size submenus contain most of 
  260. LaTeX's text formatting declarations. Since I usually override LaTeX's 
  261. default settings only for very small amounts of text (typically a sentence 
  262. or less), the scope of each of these declarations has been delimited by 
  263. braces even though there may be times when this approach is superfluous and 
  264. even outright wrong. (This "feature" may change in future versions of 
  265. latex.tcl.) 
  266.  
  267. I should also say something about TeX's italic correction which forced 
  268. some difficult design choices. Paraphrasing Shakespeare, "To correct, or 
  269. not to correct, that is the question!" The compromise (which I hope doesn't 
  270. turn out to be a mistake) was to consistently include the italic correction 
  271. "¥/" with each instance of Italic, Emphatic (preferred in the vast majority 
  272. of cases) or Slanted text, but then to highlight the correction so the user 
  273. could choose to delete it easily. So, immediately after inserting one these 
  274. three declarations, decide which way to go by pressing the delete key or 
  275. not. 
  276.  
  277. Future versions of latex.tcl will implement TeX's extensive international 
  278. character set and diacritical marks.
  279.  
  280. Perhaps the most useful of latex.tcl's many features is its ability to 
  281. produce skeletal templates for multi-line environments (that is, LaTeX 
  282. constructs delimited by a ¥begin...¥end pair). These may be inserted 
  283. anywhere in the document (even in the middle of a line), complete with tab 
  284. stops and appropriate indentation (provided the Alpha variable indentOnCR, 
  285. available on the Utils menu, is set to true). On the Environment submenu, 
  286. you'll find commands for Enumerate, Itemize, Description, Tabular, Figure, 
  287. Table, Slide, Verbatim, Quote, Quotation, Verse, and Bibliography 
  288. environments. In some cases (like Enumerate), the user is asked to specify 
  289. the number of rows desired, after which the program generates the 
  290. corresponding environment body (complete with punctuation and tab stops). 
  291. Some environment commands (like Tabular) also prompt the user for the 
  292. desired number of columns. There's even a General command for creating 
  293. user-defined environments. 
  294.  
  295. Although the Boxes submenu is unusually brief, I expect this to change as I 
  296. learn more about TeX boxes. Perhaps the most useful box-making command (the 
  297. only one implemented thus far) is mbox, which formats its argument in LR 
  298. mode, a restricted form of paragraph mode impervious to line breaks. The 
  299. mbox command is especially useful for inserting a bit of plain text in the 
  300. middle of a math formula (see the _LaTeX_ book for examples). 
  301.  
  302. Other text-related LaTeX commands that I've found useful from time to time 
  303. are listed under the Miscellaneous submenu. There you'll find certain 
  304. special characters (like Copyright and Section Mark), the TeX and LaTeX 
  305. logos, quoting commands (which I've always found difficult to typeset 
  306. manually), marginal notes and footnotes, labels, cross references, page 
  307. references, and citations. 
  308.  
  309. Math Mode Commands
  310. ------------------
  311.  
  312. Math mode may be invoked in any number of ways. Many TeXnical typists rely 
  313. exclusively on TeX's use of dollar signs, and almost always key in their 
  314. documents horizontally from left to right. Others have adopted LaTeX's 
  315. tendency to prefer vertical constructions (that is, environments). Still 
  316. others have settled on some combination of these, using whichever seems 
  317. comfortable or convenient at the time. Whatever your approach to 
  318. mathematical typesetting, there's something for everybody in latex.tcl, 
  319. designed to simplify the input of complex mathematical formulas. 
  320.  
  321. Four Math Modes are available for normal, everyday left-to-right input. 
  322. These are called Tex Math ($...$) and Tex Displaymath ($$...$$), and their 
  323. corresponding LaTeX equivalents Latex Math (¥(...¥) and Latex Displaymath 
  324. ¥[...¥]. The LaTeX versions are equivalent to the multi-line Math and 
  325. Displaymath environments. The latter have the advantage that 1) they are 
  326. often more readable in source form, and 2) they are more easily changed (by 
  327. simply replacing keywords) as the document evolves. 
  328.  
  329. Other multi-line Math Environments peculiar to LaTeX (Equation, Array, 
  330. Eqnarray, and Eqnarray*) are also available, and each is mutually exclusive 
  331. (that is, one may not be nested inside the other) except for the Array 
  332. environment which _must_ be nested inside some other math environment. (It 
  333. took me a long time to come to grips with this anomaly, and I must say the 
  334. misleading example on p.47 of the _LaTeX_ book sure didn't help!) There's 
  335. also a General environment command which turns out to be exactly the same 
  336. one available in paragraph mode (see above). 
  337.  
  338. The Formulas submenu contains LaTeX commands commonly used to build up even 
  339. the simplest mathematical expressions. There are commands for typesetting 
  340. subscripts and superscripts, fractions (which used to be difficult to 
  341. typeset), square roots, and arbitrary nth roots. There are also arbitrary 
  342. one- and two-parameter LaTeX commands which prompt the user to input the 
  343. command name. Next to latex.tcl's environment commands, the formula 
  344. commands should be most useful. (In fact, it pays to memorize their command 
  345. key equivalents...but more on that later.) 
  346.  
  347. While we're talking about the Formulas submenu, let me tell a little bit 
  348. about latex.tcl's ability to parse fractions. How many times have you found 
  349. yourself wanting to recast a horizontally typeset fraction such as $x = (-b 
  350. ¥pm ¥sqrt{b^2 - 4ac})/(2a)$ in a corresponding "vertical" form such as $$x 
  351. = ¥frac{(-b ¥pm ¥sqrt{b^2 - 4ac})}{(2a)}$? Obviously, such an operation 
  352. involves a lot of cutting and pasting, and I used to avoid it like the 
  353. plague. Well, now all you have to do is select the text you want converted 
  354. (in this case, all the text inside the dollar signs except "x = ") and then 
  355. choose Formulas:Fraction from the LaTeX menu. The rest is automatic. (Now 
  356. if only I could get it to automatically remove those redundant 
  357. parentheses... :-) 
  358.  
  359. The longest of latex.tcl's submenus contains the entire Greek alphabet, 
  360. including both lower- and upper-case letters, plus a handful of lower-case, 
  361. "italicized" letters (¥varepsilon, ¥vartheta, ¥varpi, ¥varrho, ¥varsigma, 
  362. and ¥varphi). The upper-case letters have been prefixed with the keyword 
  363. "Cap" on the Greek submenu since the words "theta" and "Theta," for 
  364. instance, are indistinguishable to Alpha's menu processor. 
  365.  
  366. Plain TeX defines an incredible variety of mathematical symbols, each 
  367. transparently available to the LaTeX user, but only a fraction of these 
  368. have been implemented in this version of latex.tcl. The Binary Operators 
  369. and Relations submenus contain a couple dozen of the most commonly used 
  370. symbols, although others may be added quite easily (it'll be difficult to 
  371. find appropriate command keys, however!). The latex.tcl macro package also 
  372. provides support for TeX's so-called "large operators." Commands such as 
  373. Sum, Product, Integral, set Union and Intersection, and Logical And and Or 
  374. may be found on the Large Operators submenu. 
  375.  
  376. Similarly, a quick glance at the _LaTeX_ book shows a wide assortment of 
  377. arrows, dots, and miscellaneous mathematical symbols---only some of which 
  378. are implemented in latex.tcl. See the Arrows, Dots, and Symbols submenus 
  379. for lists of available commands. 
  380.  
  381. TeX's so-called "log-like" functions (¥exp and ¥sin, for instance) are 
  382. scheduled to be implemented in future versions of latex.tcl. (Quite 
  383. frankly, I find it easier to type these commands directly as opposed to 
  384. pulling down a menu, but I admit they might be useful in some instances.) 
  385.  
  386. TeX is particularly adept at "delimiting" arbitrary-sized mathematical 
  387. expressions. Examples include parenthesized equations, matrices, and 
  388. determinants. Since the left and right delimiters need not be of the same 
  389. type, there are a host of options from which to choose, and hence we're 
  390. presented with an interesting design problem. A workable compromise was 
  391. achieved by implementing a handful of common delimiters explicitly, and 
  392. then providing access to other more esoteric combinations via dialogs. 
  393. Consequently, commands for Big Parentheses, Big Brackets, Big Braces, and 
  394. Big Absolute Value symbols will be found on the Delimiters submenu, along 
  395. with a Big Left Brace (which is commonly used to define multi-part 
  396. functions or systems of equations), as well as interactive commands called 
  397. Other Big Delims and Other Mixed Big Delims. The latter two commands are 
  398. interactive---the user either types the delimiter name directly into a text 
  399. box or chooses the desired name from a pop-up menu of available options. 
  400. Also on the Delimiters submenu are normal-sized parentheses, brackets, 
  401. braces, and absolute values, as well as arbitrary fixed-size delimiters.
  402.  
  403. Math accents (not to be confused with diacritical marks used in paragraph 
  404. mode) are accessed from a submenu of the same name. There are commands for 
  405. hats, bars, tildes, vectors, dots, etc., plus wide hats and tildes. There 
  406. are also commands for dotless versions of the letters "i" and "j" used in 
  407. conjuction with these accents. Insofar as possible, the macros check to 
  408. make sure that only single characters are being accented, or in the case of 
  409. wide accents, three or fewer characters. 
  410.  
  411. The Grouping submenu has commands for underlining and overlining, and 
  412. related commands for creating underbraces and overbraces. There's also a 
  413. command for something called a stack used to construct compound operators 
  414. via vertical stacking (see p.52 of the _LaTeX_ book for more details). 
  415.  
  416. The Spacing submenu provides for various types of horizontal spacing. There 
  417. are commands for thin, negative thin, medium, and thick amounts of 
  418. whitespace, and additional commands for inserting the traditional 
  419. typesetter's quad (1em) and double quad. Arbitrary horizontal whitespace, 
  420. defined via LaTeX's ¥hspace and ¥hspace* commands, may be inserted with the 
  421. One Parameter command on the Formulas menu. Vertical whitespace commands 
  422. have not yet been implemented. 
  423.  
  424. The last submenu on the LaTeX menu is called Math Style, with commands for 
  425. (the seldom used) Math Italic and Calligraphic typefaces, as well as 
  426. declarations for displaystyle, textstyle, scriptstyle, and 
  427. scriptscriptstyle. The latter command quartet are sometimes needed to 
  428. override LaTeX's default math style. (For example, the array environment 
  429. for some bizarre reason insists on enabling textstyle regardless of the 
  430. surrounding environment.) Future versions of latex.tcl will also provide 
  431. support for the AMS Fonts, including Fraktur, Script, and Blackboard Bold. 
  432.  
  433.  
  434. IV.  COMMAND KEYS
  435.  
  436. Menus are great when first learning a program, but eventually the tendency 
  437. is to move away from menus towards commands keys. This can significantly 
  438. speed input. However, few of us are inclined to memorize more than a couple 
  439. dozen such keystrokes unless continually prompted with reminders. 
  440. Unfortunately, it's not possible to display complex command key icons on Alpha 
  441. menus and so we must resort to external aids (see the file commands.tex in 
  442. the Help folder). Other than that, a logical approach to key assignments is 
  443. about all we can hope for. 
  444.  
  445. Key Assignments
  446. ---------------
  447.  
  448. A few remarks will help you remember the many command key sequences. Almost 
  449. all commands that use wrapObject have been assigned command keys beginning 
  450. with <Cmd Shf> or <Cmd Opt> or <Cmd Shf Opt>. The first of these is 
  451. reserved for paragraph mode and the others for math mode. On the other 
  452. hand, commands that use insertObject almost always have command keys 
  453. beginning with <Opt> or <Opt Shf> or <Opt Ctl>. Knowing these simple facts 
  454. will help tremendously. 
  455.  
  456. In may cases, we've honored normal Mac keyboarding conventions. Thus, 
  457. Bullet and Ellipsis have been assigned <Opt 8> and <Opt ;>, respectively. 
  458. Similarly, the commands Less Or Equal and Greater Or Equal have been 
  459. assigned <Opt ,> and <Opt .>, respectively. There are others that you'll 
  460. no doubt recognize, too.
  461.  
  462. There's also a certain amount of redundancy built in.  For example, the 
  463. ubiquitous Subscript and Superscript commands each have a pair of command 
  464. keys assigned to them, <Cmd Opt ,> and <Cmd Opt -> in the case of Subscript, 
  465. and <Cmd Opt .> and <Cmd Opt 6> for Superscript. Take your pick!
  466.  
  467. Meta Keys
  468. ---------
  469.  
  470. The LaTeX key bindings make heavy use of the option key.  This is fine
  471. if you never learned those strange emacs-type key combinations, or if
  472. you are accustomed to using the escape key for the meta-key combinations.
  473. However, if you are taking advantage of Alpha's ability to use the option
  474. key for the meta-key combinations (by setting optionIsMeta to 1), you
  475. have undoubtedly noticed that you have a problem in Tex mode, where
  476. option-v inserts "¥nabla" rather than scrolling up one screen.  
  477.  
  478. Fear not. If you want to use option as a meta key in Tex mode, open the 
  479. procs.tcl file, use the Mark titlebar menu to find the mark 
  480. "latexMacroOption", type a pound sign "#" (without the quotes), save the 
  481. file, and quit Alpha. (If the mark is missing from procs.tcl, look for the 
  482. "setTexMode" procedure and read the comments.) When you restart Alpha and 
  483. enter Tex mode, the optionIsMeta flag will have been left set, the latex 
  484. key bindings will all have the control key added to them (except the tab 
  485. key), and option will work as a meta key. 
  486.  
  487.